from abc import abstractmethod, ABC


class IWorker(ABC):

    @abstractmethod
    def __init__(self):
        """
        构造
        """
        pass

    @abstractmethod
    def process(self, data):
        """
        引擎处理
        """
        pass
